﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HelpersDotNet.DomainDrivenDesign.Infrastructure.DomainBase;

namespace HelpersDotNet.DomainDrivenDesign.Infrastructure.Transactions
{
    public class ClientTransaction : Transaction
    {
        private IEntity _entity;

        public ClientTransaction(object key, TransactionType type, IEntity entity) :
            base(key, type)
        {
            _entity = entity;
        }

        public IEntity Entity
        {
            get { return _entity; }
        }
    }
}
